Part Number Hot Search : 
26150 190BX251 07500 71M35 2SC3561 41001 MT240 190BX251
Product Description
Full Text Search
 

To Download IS-DEVKIT-2 Datasheet File

  If you can't view the Datasheet, Please click here to try to view without PDF Reader .  
 
 


  Datasheet File OCR Text:
  is-dev kit-2 users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 is-dev kit-2 users manual a.doc page 1 of 15 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 is-dev kit-2 users manual revision a nkk switches 7850 e. gelding drive scottsdale, az 85260 toll free 1-877-2buynkk (877-228-9655) phone 480-991-0942 fax 480-998-1435 e-mail all rights reserved worldwide nkk switches makes no warranty for the use of these products and assumes no responsibility for any err ors, which may appear in this document, nor does it make a commitment to update the information contained h erein. smart switch is trademark of nkk switches.
is-dev kit-2 users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 is-dev kit-2 users manual a.doc page 2 of 15 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 table of contents table of contents ................................. ................................................... .....................2 1. general features ............................... ................................................... .....................3 2. key terms & definitions......................... ................................................... ..............4 3. overview........................................ ................................................... .........................7 4. communication protocol .......................... ................................................... ............9 5. hardware ........................................ ................................................... ........................12 6. firmware problems ............................... ................................................... ................15
is-dev kit-2 users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 is-dev kit-2 users manual a.doc page 3 of 15 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 1. general features the is-dev kit-2 version 1.1 controls two lcd 36x24 smartswitches with resolution of 36x24 pixels. the controller for the is-dev kit-2 is the is-s0203. below are current features: ? serial communication via rs232 ? flash eeprom for 255 images and attribute locations rated for 100,000 write cycle. ? audio feedback while switch is pressed. ? adjustable backlight brightness. ? controller board firmware can be customized based o n customer requirements. switch-action report from the controller to the hos t: ? switch one closure is reported as 81h. ? switch two closure is reported as 82h. ? switch one release is reported as b1h. ? switch two release is reported as b2h. ? timer expire is reported as 83h. stand alone operation features : ? the controller can be programmed one time with imag es and set-ups. then the controller can go through various menus as programmed via switch acti ons and timer expires. real-time operation features: ? download what image location data each lcd module s hould display. ? download characters and controller will create grap hic data using 5x7 font for any switch. ? download characters and controller will create grap hic data using 7x10 font for any switch. ? change backlight color on any lcd module.
is-dev kit-2 users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 is-dev kit-2 users manual a.doc page 4 of 15 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 2. key terms & definitions lcd module nkk switches smartswitch / smartdisplay host any computer, terminal, or other device that can c ommunicate over rs232 line. controller a pcb assembly that controls one or more logic boar ds and the switches associated with them. it communicates with a host o ver the rs232 line. logic board a pcb assembly with ?glue logic? for mounting switc hes. it is controlled by a controller. byte an eight bit hex value ranging from 00h to ffh (de cimal 0 to 255). the bit format of a byte is: (b7 b6 b5 b4 b3 b2 b1 b0) wher e b7 is most significant and bit b0 is least significant bit. nibble/hex digit a four bit value ranging from 0h to fh. a byte co nsists of two nibbles. ascii a byte value representing a symbol. communication there are two formats to transmit a byte: format 1. hex format - a hex byte is transmitted without any change to it. [ xxh ] will be used to denote this. all commands and some data sent by using this form at. 2. ascii format - each nibble of the byte is converted to ascii c ode and sent as a byte. [ xxah ] will be used to denote this. for example, the hex byte 5ah is transmitted in tw o bytes, 35h and 41h . the ascii value for 5 is 35h and the ascii value for a is 41h . all pointers, all addresses and most data are sent using this format. pointer one byte. there is a pointer for each lcd module. the value of a pointer is a virtual address that refers to the 255 storage lo cations in the eeprom (01h to ffh). each location has image data led data, an d attribute data. the controller finds the actual address from this virtu al address and uses the data for the lcd modules.
is-dev kit-2 users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 is-dev kit-2 users manual a.doc page 5 of 15 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 attribute block a block of 6 bytes. byte description 1 pointer for lcd module #1 when switch is pressed. 2 pointer for lcd module #2 when switch is pressed 3 pointer for lcd module #1 when the timer is expired. 4 pointer for lcd module #2 when the timer is expired. 5 value for timer 1 6 value for timer 2 when a switch is pressed the attributes are execute d as follows: --- if the value of byte 1 of the attribute is not equal zero , the legend block and attribute block from the eeprom is transferred to internal r am for switch 1. if the byte 5 of the new attribute block is equal zero then the timer is tur ned off. if the value of byte 5 is not equal zero then the value of byte 5 is put in timer 1 and valu e of byte six is put in timer 2 and timer is turned on. --- if the value of byte 2 of the attribute is not equal zero , the legend block and attribute block from the eeprom is transferred to internal r am for switch 2. when the timer is expired the attributes are execu ted as follows: --- if the value of byte 3 of the attribute is not equal zero , the legend block and attribute block from the eeprom is transferred to internal r am for switch 1. if the byte 5 of the new attribute block is equal zero then the timer is tur ned off. if the value of byte 5 is not equal zero then the value of byte 5 is put in timer 1 and valu e of byte 6 is put in timer 2 and timer is turned on. --- if the value of byte 4 of the attribute is not equal zero , the legend block and attribute block from the eeprom is transferred to internal r am for switch 2. the timer value in second = (timer 1)x(timer 2)x(0. 0369) timer 2 = 0 count as 256.
is-dev kit-2 users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 is-dev kit-2 users manual a.doc page 6 of 15 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 legend block a block of 121 bytes. it contains image data and l ed codes. byte description 1-5 first line of image 6-10 second line of image ? ? ? 116-120 24th line of image 121 led code led code a single byte with the following format: b4, b5, b6, b7 are not used b3=0 ==> no action b3=1 ==> turn the led #2 off on blink cycle b2=0 ==> no action b2=1 ==> turn the led #1 off on blink cycle b1=0 ==> led #1 backlighting off b1=1 ==> led #1 backlighting on b0=0 ==> led #2 backlighting off b0=1 ==> led #2 backlighting on note: led #1 is connected to pin3 of the smart swi tch. led #2 is connected to pin13 of the s mart switch. to get the combined color, both led #1 & led #2 mu st be set to on.
is-dev kit-2 users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 is-dev kit-2 users manual a.doc page 7 of 15 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 3. overview the is-dev kit-1 has a flash eeprom that can hold u p to 255 images and attributes. the eeprom is rated for 100,000 write cycle. these images and attributes can be downloaded to th e is-dev kit-1 via rs232 communication. the is-dev kit-1 has internal ram to hold the data for two images and attributes. these data are used to refresh the lcd displays and backlighting. upon switch presses, timer expired or command from host the data can be read from any location of eeprom to internal ram. host also can change the data on the internal ram d irectly. the switch activity and timer expires are reported via rs232. power-up (steps 1,2,3) upon power-up or reset, controller performs the fol lowing steps: step 1: check if the ram has been programmed. compare the check string to eeprom string. a. if the strings are not the same, the eeprm is v irgin and its data is not acceptable. step 2 will be executed. (first time) b. if the strings are the same, the data from ram is acceptable. step 2 is omitted and step 3 is executed. step 2: write all the default initialize values to eeprom a s follows: a. put ?led down? as the image for location one. b. put ?led up? as the image for location two. c. put "blank font memory" as the image for locati on three. d. put led #1 backlighting on for location 1, 2 an d 3. e. put ?00h 00h 03h 03h 10h 10h? as attribute for location #1. f. put ?00h 00h 00h 00h 00h 00h? as attribute for location #2 and #3. g. write the virgin check string. step 3 a. initialize and load the data from location 1 an d 2 of eeprom to internal ram for switch #1 and #2 respectfully. b. initialize uart.
is-dev kit-2 users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 is-dev kit-2 users manual a.doc page 8 of 15 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 operation step 4: a. if the switch one is pressed: transmit 81h to host, if the data is from location 1 then adjust down the backlight brightness else execute the attribute . put led#1 on for switch 1. b. if the switch two is pressed: transmit 82h to host, if the data is from location 2 then adjust up the backlight brightness else execute the attribute. pu t led#1 on for switch 2. c. if the timer is expired: transmit 83h to host and e xecute the timer attribute. d. if the switch one is released: transmit b1h to host . put led color according to data on switch one. e. if the switch one is released: transmit b2h to host . put led color according to data on switch two. f. checks the host communication buffer for data. if there is data, process them. g. go to step 4 section a
is-dev kit-2 users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 is-dev kit-2 users manual a.doc page 9 of 15 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 4. communication protocol the controller communicates with the host serially. the controller receives the data via an interrupt routine that places the data on the circular receive buffer . when the controller detects data in the circular re ceive buffer (step 4 section f), it reads one byte and executes the following: a. if the byte is a command, the controller transm its a 61h and it executes the subroutine for the command and upon completion of command the controll er transmits 79h. all of the commands are explained in detail in this section. b. if the byte is not a command, it ignores the byt e. when the controller executes a subroutine and expec ts additional information: a. a timer is set. if the expected data byte is n ot received in 50 ms, the controller transmits 6eh, terminates the routine. b. if the byte value is not acceptable (invalid ra nge, option, etc.), the controller transmits 6eh, t erminates the routine. commands are one byte in the range of 20h to 2fh an d 01h and are transmitted in hex format. the proper format for all command options and data is specified for each command. command to reboot the controller the command reboots the controller to power-up stat e. command format: 24h transmit format: (xxh) command to check communication the command is used to check if the controller is o n-line. command format: 01h transmit format: (xxh) the controller transmits back 61h to the host. command to download a legend block this command downloads a legend block from the ho st to the eeprom location. command format: 28h [address] [legend block] transmit format: (xxh) (xxah) (xxah)
is-dev kit-2 users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 is-dev kit-2 users manual a.doc page 10 of 15 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 [address] is one byte with value of 01h to ffh and must be sent in ascii hex format. [legend block] is 125 bytes and must be sent in asc ii hex format. the lcd/led code is not transferred to lcd/led code refresh block. command to download attribute data to a specified a ddress this command downloads the attribute data to a sp ecified address. command format: 2ah [address] [attribute block] transmit format: (xxh) (xxah) (xxah) [address] is one byte with value of 01h to ffh and must be sent in ascii hex format. [attribute block] is 16 bytes of addresses and must be sent in ascii hex format. command to download pointers command format: 2dh [00h] [pointer for switch 1] [pointer for switch 2] transmit format: (xxh) (xxh) (xxah) (xxah) upon receiving this command, the controller transfe rs the data from eeprom to internal ram according t o the pointers. if the pointer value is zero, no tran sfer takes place. command to download led codes command format: 2ch [00h] [led for switch 1] [ledfor switch 2] transmit format: (xxh) (xxh) (xxah) (xxah) upon receiving this command, the led backlights wil l be according to the led codes. command to download ascii string (7x10 fonts) command format: 22h [06h] [code] [ascii string] [30h] transmit format: (xxh) (xxh) (xxah) (xxh) (xxh) [code] is a led code with b4=0 indicate data is for switch #1 or b4=1 indicate data is for switch #2. [ascii string] is 8 characters. the controller will make two lines of 4 characters using the 7x10 font s. command to download ascii string (5x7 fonts) command format: 22h [07h] [code] [ascii string] [30h] transmit format: (xxh) (xxh) (xxah) (xxh) (xxh) [code] is a led code with b4=0 indicate data is for switch #1 or b4=1 indicate data is for switch #2.
is-dev kit-2 users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 is-dev kit-2 users manual a.doc page 11 of 15 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 [ascii string] is 18 characters. the controller wil l make three lines of 6 characters using the 5x7 fonts. command to write the data version command format: 22h [04h] [data version] transmit format: (xxh) (xxh) (xxah) [data version] is a byte. it is for the user to ind icate the version of the data in eeprom. command to read the data version command format: 22h [05h] transmit format: (xxh) (xxh) upon receiving this command, the controller transmi ts the data version in xxh format to host. command to read the firmware version command format: 22h [15h] transmit format: (xxh) (xxh) upon receiving this command, the controller transmi ts the firmware version in xxh format to host. command to transfer the ram legend block data for s witch #1 to eeprom command format: 22h [02h] [pointer] transmit format: (xxh) (xxh) (xxah) upon receiving this command, the controller transfe rs the data for legend block being displayed on swi tch #1 to the eeprom location as indicated by pointer. command to transfer the ram legend block data for s witch #2 to eeprom command format: 22h [03h] [pointer] transmit format: (xxh) (xxh) (xxah) upon receiving this command, the controller transfe rs the data for legend block being displayed on swi tch #2 to the eeprom location as indicated by pointer.
is-dev kit-2 users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 is-dev kit-2 users manual a.doc page 12 of 15 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 5. hardware ? controls 2 nkk smartswitches. ? the left switch is #1 and the right switch is #2. ? serial communication via rs232. ? ee-prom for 255 image locations. ? 5 analog/digital plus 2 digital auxiliary ports. dimension: board size: 3.04? x 1.18? (wxh) power requirement: 9v (can run on 12 volts) max 150ma mounting holes: four hole size: 0.125? distance from edge of the board: 0.150 distance from top/bottom of the board: 0.100 connectors: four j3 auxiliary port: 10x1 header .1?x.1? spacing. pin function pin function 1 gnd 2 an4 3 an3 4 an2 5 an1 6 an0 7 rb7 8 gnd 9 rb6 10 gnd this port has 7 lines of input/output. no firmware has been written for this port. five of these lines can be analog. these lines are connected to the micro cont roller port pins. we will add firmware upon request. j1a power connector: power jack 2.5 mm male. center positive. j1 alternative power connector: 2 pin header .1? spacing. pin1 gnd, pin2 +9v
is-dev kit-2 users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 is-dev kit-2 users manual a.doc page 13 of 15 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 j2 communication: rj11 1 2 3 4 5 6 rs232 gnd tx rx gnd adjustment: pot1: lcd viewing angle/contrast adjustment. pot2: beeper volume adjustment. switches: this controller has 2 sockets for the switches.
is-dev kit-2 users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 is-dev kit-2 users manual a.doc page 14 of 15 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 controller schematic
is-dev kit-2 users manual 7850 east gelding drive ? scottsdale, az 85260 -3420 is-dev kit-2 users manual a.doc page 15 of 15 toll free 1.877.2buynkk (877.228.9655) ? phone 480.991.0942 ? fax 480.998.1435 www.nkkswitches.com ? email engineering@nkkswitches.com 0110 6. firmware problems this section lists the problems with each version o f the firmware which must be resolved on the next v ersion. version 1.0 ? the led code for the second switch in commands asci i string download does not work properly. version 1.1 ? no firmware issues at this time.


▲Up To Search▲   

 
Price & Availability of IS-DEVKIT-2

All Rights Reserved © IC-ON-LINE 2003 - 2022  

[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy]
Mirror Sites :  [www.datasheet.hk]   [www.maxim4u.com]  [www.ic-on-line.cn] [www.ic-on-line.com] [www.ic-on-line.net] [www.alldatasheet.com.cn] [www.gdcy.com]  [www.gdcy.net]


 . . . . .
  We use cookies to deliver the best possible web experience and assist with our advertising efforts. By continuing to use this site, you consent to the use of cookies. For more information on cookies, please take a look at our Privacy Policy. X